package com.yanqu.road.entity.drugstore.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

/**
 * 药方升级表
 */
@FieldTypeAnnotation(tableName = "t_p_drug_upgrade", desc = "药方升级表")
public class DrugStoreDrugUpgradeInfo {

    @FieldTypeAnnotation(desc = "ID", select = true, update = true, orderASC = true)
    private int id;

    @FieldTypeAnnotation(desc = "药方id")
    private int prescriptionId;

    @FieldTypeAnnotation(desc = "等级")
    private int level;

    @FieldTypeAnnotation(desc = "升级消耗铜币")
    private int need;

    @FieldTypeAnnotation(desc = "升级效果")
    private List<Integer> skillList;

    @FieldTypeAnnotation(desc = "药方额外收益")
    private String exParam;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPrescriptionId() {
        return prescriptionId;
    }

    public void setPrescriptionId(int prescriptionId) {
        this.prescriptionId = prescriptionId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getNeed() {
        return need;
    }

    public void setNeed(int need) {
        this.need = need;
    }

    public List<Integer> getSkillList() {
        return skillList;
    }

    public void setSkillList(List<Integer> skillList) {
        this.skillList = skillList;
    }

    public String getExParam() {
        return exParam;
    }

    public void setExParam(String exParam) {
        this.exParam = exParam;
    }
}
